package yl.hs.bmipfull.viewmodels;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/*
 * QueryFilter
 * @category
 * @author 谢景广
 * @date 2021-10-22
 */
@ApiModel(value = "查询过滤信息", description = "查询过滤信息")
public class QueryFilter {
    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getSearchVal() {
        return searchVal;
    }

    public void setSearchVal(String searchVal) {
        this.searchVal = searchVal;
    }

    @ApiModelProperty(name = "field",required = true, value = "字段名称")
    private String field;
    @ApiModelProperty(name = "operator",required = true, value = "过滤方式")
    private String operator;
    @ApiModelProperty(name = "searchVal",required = true, value = "过滤条件值")
    private String searchVal;

    public QueryFilter(){

    }
    public QueryFilter(String field,String operator,String searchVal){
        this.field = field;
        this.operator = operator;
        this.searchVal = searchVal;
    }
}
